<%@page import="bean.portDTO"%>
<%@page import="bean.PortfolioVo"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>portDelete.jsp</title>
<link rel='stylesheet' href='port.css'>
<script src='/kiSunnyShop/js/port.js'></script>
</head>
<body>
<jsp:useBean id="pvo" class="bean.PortfolioVo" scope="page"/>
<jsp:setProperty property="*" name="pvo"/>
<%	
 	//PortfolioVo vo = new PortfolioVo(request);
	portDTO dto = new portDTO();
	dto.setVo(pvo);
	if(dto.delete())
	{
		
		out.print("삭제됨.");
	}
	else
	{
		out.print("삭제안됨");
	}
%>
<h2>삭제</h2>
<input type='button' value="목록으로" id="btnList">
<script>portDeleteInit();</script>
</body>
</html>